<template>
  <div>
    <h2>TsInput</h2>
    <input type="text" :value="username" @input="say">
    <hr>
  </div>
</template>
<script setup>
defineProps(['username', 'modelValue']);
const emit = defineEmits(['update:username', 'update:modelValue']);

function say(e) {
  emit('update:modelValue', e.target.value);
}

</script>